package com.sxt.disruptor.chap01;

import com.lmax.disruptor.EventHandler;
/**
 * 	创建事件监听类，用于处理数据
 * @author Administrator
 *
 */
public class OrderEventHandler implements EventHandler<OrderEvent>{
	@Override
    public void onEvent(OrderEvent orderEvent, long l, boolean b) throws Exception {
        System.out.println("消费者:"+orderEvent.getValue());
    }
}
